﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel
{
    /// <summary>
    /// 交易订单查询结果
    /// </summary>
    public interface ITradeOrderQueryResult : IChannel
    {
        /// <summary>
        /// 获取订单号
        /// </summary>
        string OrderNo { get; }

        /// <summary>
        /// 获取交易号
        /// </summary>
        string TradeNo { get; }

        /// <summary>
        /// 付款时间
        /// </summary>
        DateTime PayTime { get; }

        /// <summary>
        /// 订单金额
        /// </summary>
        decimal OrderMoney { get; }

        /// <summary>
        /// 付款费用
        /// </summary>
        decimal PayFee { get; }

        /// <summary>
        /// 已退款金额
        /// </summary>
        decimal RefundMoney { get; }

        /// <summary>
        /// 已退款费用
        /// </summary>
        decimal RefundFee { get; }

        /// <summary>
        /// 通道模式
        /// </summary>
        string ChannelMode { get; }

        /// <summary>
        /// 对方账号
        /// </summary>
        string OtherPartyAccount { get; }

        /// <summary>
        /// 对方账号Id
        /// </summary>
        string OtherPartyAccountId { get; }

        /// <summary>
        /// 银行类型
        /// </summary>
        string BankType { get; }

        /// <summary>
        /// 银行名称
        /// </summary>
        string BankName { get; }

        /// <summary>
        /// 获取扩展参数
        /// </summary>
        string ExtraParam { get; }

        /// <summary>
        /// 标题
        /// </summary>
        string Subject { get; }

        /// <summary>
        /// 详情(体)
        /// </summary>
        string Body { get; }

        /// <summary>
        /// 验证
        /// </summary>
        void Validation();
    }
}
